<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>外观配置</title>
<link href="/assets/shopmanage/main.css" rel="stylesheet">
<link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/dpl.css" rel="stylesheet">
<link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/bui.css" rel="stylesheet">
<link href="https://g.alicdn.com/sj/top-jssdk/0.0.3/ui/authbtn/1.0/assets/authbtn.css" rel="stylesheet">
<script src="/assets/js/jquery-1.8.1.min.js"></script>
<script src="http://g.tbcdn.cn/??kissy/k/1.3.2/kissy-min.js"></script>
<script src="http://g.alicdn.com/bui/bui/1.1.21/seed-min.js"></script>
<script src="/assets/shopmanage/global_menu_jquery.js"></script>
<script src="/assets/shopmanage/drag.js"></script> 
<style>
.sign_main {
width:450px;font-size:20px;position:absolute;left:15px;top:15px;
}
.sign_main .calendar_month_prev,.sign_main .calendar_month_next{
    height: 30px;
    background: url(https://img.alicdn.com/imgextra/i1/27390555/TB2LmNEtFXXXXblXXXXXXXXXXXX-27390555.png);
    background-size: cover;
    width:45px;
}
.sign_main .calendar_month_next{
    float: right;background-position: -36px;
}
.sign_main .calendar_month_prev{
    float: left;
}
.sign_main .sign_succ_calendar_title{
	   height: 30px;line-height: 30px;
}
.sign_main .js-close-cal{
	float:right
}
.sign_main .calendar_month_span{
	float:left
}
.sign_main .sign table{
    width: 100%;
    height: 300px;
    text-align: center;
}
.sign table {
background:none;border-collapse: collapse;
    border-spacing: 0;border-color: inherit;
}
.sign tr{
border:none;font-size: 20px;
}
.sign th,.sign td {
width: 41px;height:38px;text-align: center;line-height: 25px;border:none;
font-size: 20px;
}
.sign td {
vertical-align: middle;color:#a6a9ac;
}     
.sign .on, .sign .on_bu, .sign .on_la, .sign .giftok, .sign .gift {
background: url(https://img.alicdn.com/imgextra/i1/27390555/TB2LmNEtFXXXXblXXXXXXXXXXXX-27390555.png);background-size:cover;
}

.sign .on {
background-position:-137px 0;
}
.sign .on_bu {
background-position:-204px 0;
}
.sign .on_la {
background-position: -270px 0;
}
.sign .giftok {
cursor:pointer;background-position: -333px -0.10rem;color:#FFF;
}
.sign .gift {
cursor:pointer;background-position: -400px -0.10rem;color:#FFF;
}
.sign input {    
    -webkit-appearance: button;
    font-size: 20px;
    color: #fff;
    text-align: center;
    border: 0;
    border-radius: 5px;
    text-shadow: 0 0 3px rgba(0,0,0,.3);
    background: -webkit-gradient(linear,0 0,0 100%,from(#1dbbd7),to(#10369d));
	}
</style>
</head>
<body style="width:990px;margin:0 auto;padding:10px 0;">
 <div class="doc-content">
     <div class="panel">
      <div class="panel-body">
		  <div class="row">
			<div class="span24 doc-content">
			<h3 class="pull-left">我的互动 >> 抽奖活动 >> 创建抽奖活动</h3>
			<!-- <a class="button pull-right" style="margin-left:10px" href="/?m=Kxdr&c=Index&a=show_tools"><i class="icon-home"></i>{$L.SYS_RETURN}</a> -->
				
			<div class="button-group pull-right">
			  {include file='../../../PublicView/global_menu.html'}
			</div>
			</div>
		  </div>
		
      </div>
    </div>

			{if $issetted==1}
			系统检测到您设置过界面，如需使用当前界面的默认设置请：<button type="button" class="button button-small js-readdefault">读取默认参数</button> 或：<button type="button" class="button button-small js-readloaded">读取上次保存的参数</button>
			{/if}
			<!-- {if $cfg.frontcfg.curtool=="dices"}
			您选择的是大富翁外观，可以<button type="button" class="button button-small js-read" data-do="loaded">读取默认位置</button> 或 <button type="button" class="button button-small js-read" data-do="default">读取上次保存的位置</button>
			{/if} -->
			<!-- 模拟外观 -->	
			<div id="area" style="width:990px;margin-bottom:10px;height:360px;position:relative;background:url({if $cfg.frontcfg.front_pic==1}{$cfg.frontcfg.front_pic_url}{else}{$bg_default}{/if});">
			<div class="start">
			<input type="hidden" class="bg_default" value="{$bg_default|default:""}" />
			<input type="hidden" class="bg_own" value="{$cfg.frontcfg.front_pic_url|default:""}" />
			{if $cfg.frontcfg.front_pic==1}
				{assign var="fcfgs" value=$cfg.frontcfg.front_cfg}
			{else}
				{assign var="fcfgs" value=$frount_default}
			{/if}
			<div data-tp="chance" id="chance" class="chance ddchance js-chance edit"  style="position:absolute;{foreach from=$fcfgs.chance item=i key=k}{$k}:{$i};{/foreach}color:#FFF;font-size:14px;"> 
			  您还有<span class="J_Seeds">?</span>积分，<span class="J_Times">?</span>次抽奖机会
				<div id="coor" data-id="chance"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
				<div class="coorx" data-id="chance"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
			</div>
			<!-- 锦囊 -->
			<div data-tp="jinnang" id="jinnang" class="ddjinnang js-jinnang edit" style="background-size:cover;position: absolute;background-image:url({$fcfgs.jinnang.pic});{foreach from=$fcfgs.jinnang item=i key=k}{$k}:{$i};{/foreach}">
				<div id="coor" data-id="jinnang"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
				<div class="coorx" data-id="jinnang"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
			</div>
			<div id="gg" class="edit ddgg gonggao" style="position: absolute;background-color:#FFF;{foreach from=$fcfgs.gg item=i key=k}{$k}:{$i};{/foreach}">
				<a class="gg" data-tp="gg">活动公告</a>  <a class="gz" data-tp="gz">抽奖规则</a>  <a class="dj" data-tp="dj">兑奖方式</a>
				<div class="coorx" data-id="gg"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
				<div id="coor" data-id="gg"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
			</div>
			<div id="win" class="edit ddwin win" style="position: absolute;background-color:#FFF;{foreach from=$fcfgs.win item=i key=k}{$k}:{$i};{/foreach}">
				<p style="padding-left:4px;">共抽奖<span style="color:#FF0107;padding:0 3px;">0</span>次，累积中奖次数<span style="color:#FF0107;padding:0 3px;">0</span>次</p>
				<div class="coorx" data-id="win"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
				<div id="coor" data-id="win"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
			</div>
			<div id="contdown" class="edit ddcontdown contdown" style="position: absolute;background-color:#FFF;{foreach from=$fcfgs.contdown item=i key=k}{$k}:{$i};{/foreach}">
				 <span class="ks-d value " style="margin-left:14px">24</span> <span class="ks-h value ">23</span> <span class="ks-m value">59</span> <span class="ks-s value">51</span>
			</div>
			<div id="gift" class="edit ddgift gifts" style="position: absolute;background-color:#FFF;{foreach from=$fcfgs.gift item=i key=k}{$k}:{$i};{/foreach}">
				 奖品列表<div style="font-size:14px">默认显示3个奖品<br />建议将列表做在背景图上，隐藏本模块</div>
				<div class="coorx" data-id="gift"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
				<div id="coor" data-id="gift"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
			</div>
			<div id="mywin" class="edit ddmywin mygift" style="position: absolute;background-color:#FFF;{foreach from=$fcfgs.mywin item=i key=k}{$k}:{$i};{/foreach}">
				 我的抽奖
				<div class="coorx" data-id="mywin"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
				<div id="coor" data-id="mywin"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
			</div>
			<div id="cart" class="edit ddcart" style="position: absolute;background-color:#FFF;{foreach from=$fcfgs.cart item=i key=k}{$k}:{$i};{/foreach}">
				<div class="coorx" data-id="cart"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
				<div id="coor" data-id="cart"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
			</div>
			<div id="action" class="edit ddaction" style="position: absolute;background-color:#FFF;{foreach from=$fcfgs.action item=i key=k}{$k}:{$i};{/foreach}">
				<div id="coor" data-id="action"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
			</div>
			
			<!-- 大富翁的设置 -->
			{if $cfg.frontcfg.curtool=="dices"}
			{foreach from=$cfg.giftset key=key item=item}
			<div class="dicesdiv dd{$key}" style="left:{$item.left}px;top:{$item.top}px;width:{$item.width}px;height:{$item.height}px;{if $item.forbidden}display:none{/if}" id="{$key}">
			{$key+1}
				<div id="coor" data-id="{$key}"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
				<div class="coorx" data-id="{$key}"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
			</div>
			{/foreach}
			{/if}
			<!-- 大富翁的设置结束 -->
			</div>
<div class="jinnang" style="position: absolute;display:none; top: 0px; left: 0px; right: 0px; bottom: 0px; overflow: hidden; padding: 10px 0px; color: rgb(255, 255, 255); z-index: 500; background: rgba(0, 0, 0, 0.8);">
	<div style="position: absolute;padding:0; {foreach from=$fcfgs.qdbtn item=i key=k}{$k}:{$i};{/foreach} vertical-align: middle; line-height: {$fcfgs.qdbtn.height};" data-tp="qdbtn" id="qdbtn" class="ddqdbtn qdbtn btn btn-large  btn-warning js-qdbtn edit">
	订单兑换机会
	<div id="coor" data-ext="line-height" data-id="qdbtn"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
	<div class="coorx" data-id="qdbtn"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
	</div>	
	<!--div style="position: absolute;padding:0; {foreach from=$fcfgs.qdbtn item=i key=k}{$k}:{$i};{/foreach} vertical-align: middle; line-height: {$fcfgs.qdbtn.height};" data-tp="qdbtn" id="qdbtn" class="ddqdbtn qdbtn btn btn-large  btn-warning js-qdbtn edit">
	签到
	<div id="coor" data-ext="line-height" data-id="qdbtn"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
	<div class="coorx" data-id="qdbtn"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
	</div-->
	<div style="position: absolute;padding:0; {foreach from=$fcfgs.jfdhbtn item=i key=k}{$k}:{$i};{/foreach} line-height: {$fcfgs.jfdhbtn.height};" data-tp="jfdhbtn" id="jfdhbtn" class="ddjfdhbtn jfdhbtn btn btn-large  btn-warning js-jfdhbtn edit">
	加购物车机会
	<div id="coor" data-ext="line-height" data-id="jfdhbtn"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
	<div class="coorx" data-id="jfdhbtn"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
	</div>
	<div style="position: absolute;padding:0; {foreach from=$fcfgs.qdjcbtn item=i key=k}{$k}:{$i};{/foreach} line-height: {$fcfgs.qdjcbtn.height};" data-tp="qdjcbtn" id="qdjcbtn" class="ddqdjcbtn qdjcbtn btn btn-large  btn-warning js-qdjcbtn edit">
	积分兑换机会
	<div id="coor" data-ext="line-height" data-id="qdjcbtn"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
	<div class="coorx" data-id="qdjcbtn"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
	</div>
	<div style="position: absolute;padding:0; {foreach from=$fcfgs.ddhjfbtn item=i key=k}{$k}:{$i};{/foreach} line-height: {$fcfgs.ddhjfbtn.height};" data-tp="ddhjfbtn" id="ddhjfbtn" class="ddddhjfbtn ddhjfbtn btn btn-large  btn-warning js-ddhjfbtn edit">
	每天领取机会
	<div id="coor" data-ext="line-height" data-id="ddhjfbtn"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
	<div class="coorx" data-id="ddhjfbtn"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
	</div>
	<div style="position: absolute;padding:0; {foreach from=$fcfgs.jifen_rule item=i key=k}{$k}:{$i};{/foreach}" data-tp="jifen_rule" id="jifen_rule" class="ddjifen_rule jifen_rule  js-jifen_rule edit">
	兑换规则
	<div id="coor"  data-id="jifen_rule"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
	<div class="coorx" data-id="jifen_rule"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
	</div>
				{foreach from=$fcfgs key=key item=item}
				{if $item.tp=='btn' && 1==2}
				<!-- 按钮系列 --><!-- 签到按钮 -->
				<input style="position:absolute;{if $item.left}left:{$item.left};{/if}{if $item.top}top:{$item.top};{/if}{if $item.visibility}visibility:{$item.visibility}{/if}" data-tp="{$key}" id="{$key}" class="dd{$key} {$key} {if $item.set=='btn'}btn {$item.size|default:'btn-mini'} {$item.style|default:'btn-warning'} {/if} js-qiandao edit" {if $item.set=='pic'}src="{$item.picurl}" type="image"{else}type="button"{/if} value="{$item.text}">
				{/if}
				{/foreach}
	<div data-tp="sign_main" id="sign_main" class="sign_main ddsign_main edit">
	<div id="coor" data-id="sign_main"><i class="icon-small icon-white icon-caret-right-down icon-mini"></i></div>
	<div class="coorx" data-id="sign_main"><i class="icon-small icon-white icon-remove-mini icon-mini"></i></div>
	<div class="sign_succ_calendar_title"><div class="calendar_month_next js-changmon" data-mon="2016-09-01"></div><div class="calendar_month_prev js-changmon" data-mon="2016-07-01"></div><div class="calendar_month_span">2016年8月</div><span class="ks-ext-close-x js-close-cal">关闭</span></div><div class="sign" id="sign_cal">
	<table frame="void" rules="none" border="0"><tbody><tr><th>日</th><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th></tr><tr><td class=""> </td><td class="">1</td><td class=""><input data-tp="buqian" data-day="2016-08-02" class="  js-buqian" type="button" value="补签"></td><td class="">3</td><td class="on_bu">4</td><td class="on_la">5</td><td class=""><input class=" js-calqd" type="button" value="签到"></td></tr><tr><td class="gift">7</td><td class=" giftok "></td><td class="">9</td><td class=""><input data-tp="lingjiang" data-day="2016-08-10" class=" btn-warning js-buqian" type="button" value="领奖"></td><td class="">11</td><td class="">12</td><td class="">13</td></tr><tr><td class="">14</td><td class="">15</td><td class="">16</td><td class="">17</td><td class="">18</td><td class="">19</td><td class="">20</td></tr><tr><td class="">21</td><td class="">22</td><td class="">23</td><td class="">24</td><td class="">25</td><td class="">26</td><td class="">27</td></tr><tr><td class="">28</td><td class="on">29</td><td class="">30</td><td class="">31</td><td class=""> </td><td class=""> </td><td class=""> </td></tr><tr><td class=""> </td><td class=""> </td><td class=""> </td><td class=""> </td><td class=""> </td><td class=""> </td><td class=""> </td></tr></tbody></table>
	</div>
	</div>
</div>
			</div>
	 <div class="">
			  <div class="panel">
			  <div class="panel-header clearfix">
				<h3 class="pull-left">外观设置</h3>
				<div class="pull-right">
					<button class="button button-mini button-success" ><i class="icon icon-white icon-cog"></i>初始化</button>
					<button class="button button-small"><span class="x-icon x-icon-mini x-icon-info">?</span> 帮助</button>
				</div>
			  </div>
			  <div class="panel-body clearfix">
			  	  <div class="toolbar">
				<li><button class="button button-danger js-back"><i class="icon-white icon-arrow-left"></i>返回</button></li>
				<li><button class="button button-success js-wgsubmit"><i class="icon-white icon-check"></i>保存</button></li>
				<li>没有抽奖机会时转不转？
				{if $cfg.frontcfg.none_anim==1}
				<button class="button button-mini button-danger js-animon"><i class="icon-white icon-repeat"></i>转</button></li>
				<li><button class="button button-mini js-animoff"><i class="icon-ban-circle"></i>不转</button></li>
				{else}
				<button class="button button-mini js-animon"><i class="icon-repeat"></i>转</button></li>
				<li><button class="button button-mini button-danger js-animoff"><i class="icon-white icon-ban-circle"></i>不转</button></li>
				{/if}
				下载官方背景图：<a href="{$bg_default}" target="_blank" class="button button-mini button-info"><i class="icon-white icon-download-alt"></i></a>
				<li class="offset2">自定义总开关：
				{if $cfg.frontcfg.front_pic == 1 }
				<button class="button js-open button-danger" ><i class="icon-white icon-eye-open "></i>已启用</button>
				{else}
				<button class="button js-open" ><i class="icon-eye-close "></i>开启</button>
				{/if}
				</li>
				<li class="pull-right"><button class="button button-info js-imgup " data-imgkey="4" ><i class="icon-white  icon-picture "></i>上传背景图</button></li>
			</div>
	  		<div id="tab" class="bui-tab-panel bui-tab nav-tabs" aria-disabled="false" aria-pressed="false">
				<ul style="font-size:14px">
				  <li class="bui-tab-panel-item active bui-tab-item" data-tp="button_set" aria-disabled="false" aria-pressed="false"><a href="###"><i class="icon-move"></i>起始页</a></li>
				  <li class="bui-tab-panel-item bui-tab-item" data-tp="bag_set" aria-disabled="false" aria-pressed="false"><a href="###"><i class="icon-exclamation-sign"></i>锦囊</a></li>
				  <li class="bui-tab-panel-item bui-tab-item" data-tp="gift_set" aria-disabled="false"><a href="###"><i class="icon-gift"></i>奖品绑定</a></li>
			    </ul>
			</div>
				<form method="post" class="form1" action="/?a=step5_pc&m=Shopmanage&c=event">
					<input  type="hidden" name="nextshow" value="{$nextshow|default:""}" />
					<input class="end_time" type="hidden" name="end_time" value="{$end_time}" />
					<input class="eid" type="hidden" name="eid" value="{$eid}" />
					<input class="uploadbg" type="hidden" name="uploadbg" value="" />
					<div class="form-horizontal">
						<div class="row">
						<div class="control-group span20 mytab js-button_set">
							<label class="control-label">主页面参数</label>
							<div class="controls control-row-auto span23  span-width">
									<div class="well">
										<div class="control-group">
												<label class="control-label">倒计时设置：</label>
												<div class="controls">
													左边距<input data-default="{$frount_default.contdown.left|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.contdown.left|replace:"px":""}" name="leftcontdown" class="leftcontdown span2 span-width control-text contdown-left form" value="{$cfg.frontcfg.front_cfg.contdown.left|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.contdown.top|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.contdown.top|replace:"px":""}" name="topcontdown" class="topcontdown span2 span-width control-text contdown-top form" value="{$cfg.frontcfg.front_cfg.contdown.top|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="contdown" data-default="{$frount_default.contdown.visibility}" data-saved="{$cfg.frontcfg.front_cfg.contdown.visibility|default:"visible"}" name="fbcontdown" class="forb fbcontdown contdown-hide" {if $cfg.frontcfg.front_cfg.contdown.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img01.taobaocdn.com/imgextra/i1/27390555/TB2wsnZbpXXXXabXXXXXXXXXXXX-27390555.jpg' target='_blank'><img src='http://img01.taobaocdn.com/imgextra/i1/27390555/TB2wsnZbpXXXXabXXXXXXXXXXXX-27390555.jpg_760x760.jpg'/></a>">?</span>
													
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">奖品列表：</label>
												<div class="controls">
													左边距<input data-default="{$frount_default.gift.left|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.gift.left|default:"670"|replace:"px":""}" name="leftgift" class="leftgift span2 span-width control-text form gift-right" value="{$cfg.frontcfg.front_cfg.gift.left|default:"670"|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.gift.top|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.gift.top|replace:"px":""}" name="topgift" class="topgift span2 span-width control-text form gift-top" value="{$cfg.frontcfg.front_cfg.gift.top|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="gift" data-default="{$frount_default.gift.visibility}" data-saved="{$cfg.frontcfg.front_cfg.gift.visibility|default:"visible"}" name="fbgift" class="forb fbgift form gift-hide" {if $cfg.frontcfg.front_cfg.gift.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img04.taobaocdn.com/imgextra/i4/27390555/TB2qZDWbpXXXXbdXXXXXXXXXXXX-27390555.jpg' target='_blank'><img src='http://img04.taobaocdn.com/imgextra/i4/27390555/TB2qZDWbpXXXXbdXXXXXXXXXXXX-27390555.jpg_760x760.jpg'/></a>">?</span>
													
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">“我的抽奖”按钮：</label>
												<div class="controls">
													左边距<input data-default="{$frount_default.mywin.left|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.mywin.left|default:"870"|replace:"px":""}" name="leftmywin" class="leftmywin span2 span-width control-text form mywin-right" value="{$cfg.frontcfg.front_cfg.mywin.left|default:"870"|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.mywin.top|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.mywin.top|replace:"px":""}" name="topmywin" class="topmywin span2 span-width control-text form mywin-top" value="{$cfg.frontcfg.front_cfg.mywin.top|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="mywin" data-default="{$frount_default.mywin.visibility}" data-saved="{$cfg.frontcfg.front_cfg.win.visibility|default:"visible"}" name="fbmywin" class="forb fbmywin form mywin-hide" {if $cfg.frontcfg.front_cfg.win.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img02.taobaocdn.com/imgextra/i2/27390555/TB25vYMbpXXXXciXpXXXXXXXXXX-27390555.jpg' target='_blank'><img src='http://img02.taobaocdn.com/imgextra/i2/27390555/TB25vYMbpXXXXciXpXXXXXXXXXX-27390555.jpg_760x760.jpg'/></a>">?</span>
													
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">三个公告按钮：</label>
												<div class="controls">
													左边距<input data-default="{$frount_default.gg.left|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.gg.left|default:"660"|replace:"px":""}" name="leftgg" class="leftgg span2 span-width control-text form gg-right" value="{$cfg.frontcfg.front_cfg.gg.left|default:"660"|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.gg.top|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.gg.top|replace:"px":""}" name="topgg" class="topgg span2 span-width control-text form gg-top" value="{$cfg.frontcfg.front_cfg.gg.top|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="gg" data-default="{$frount_default.gg.visibility}" data-saved="{$cfg.frontcfg.front_cfg.gg.visibility|default:"visible"}" name="fbgg" class="forb fbgg form gg-hide" {if $cfg.frontcfg.front_cfg.gg.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img03.taobaocdn.com/imgextra/i3/27390555/TB2fy6ObpXXXXX4XpXXXXXXXXXX-27390555.jpg' target='_blank'><img src='http://img03.taobaocdn.com/imgextra/i3/27390555/TB2fy6ObpXXXXX4XpXXXXXXXXXX-27390555.jpg_760x760.jpg'/></a>">?</span>
													
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">中奖信息设置：</label>
												<div class="controls">
													左边距<input data-default="{$frount_default.win.left|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.win.left|default:"720"|replace:"px":""}" name="leftwin" class="leftwin span2 span-width control-text form win-right" value="{$cfg.frontcfg.front_cfg.win.left|default:"720"|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.win.top|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.win.top|default:"190"|replace:"px":""}" name="topwin" class="topwin span2 span-width control-text form win-bottom" value="{$cfg.frontcfg.front_cfg.win.top|default:"190"|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="win" data-default="{$frount_default.win.visibility}" data-saved="{$cfg.frontcfg.front_cfg.win.visibility|default:"visible"}" name="fbwin" class="forb fbwin form win-hide" {if $cfg.frontcfg.front_cfg.win.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img02.taobaocdn.com/imgextra/i2/27390555/TB23VrPbpXXXXXEXpXXXXXXXXXX-27390555.jpg' target='_blank'><img src='http://img02.taobaocdn.com/imgextra/i2/27390555/TB23VrPbpXXXXXEXpXXXXXXXXXX-27390555.jpg_760x760.jpg'/></a>">?</span>
													
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">您还有？积分...：</label>
												<div class="controls">
													左边距<input data-default="{$frount_default.chance.left|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.chance.left|default:"720"|replace:"px":""}" name="leftchance" class="leftchance span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.chance.left|default:"720"|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.chance.top|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.chance.top|default:"190"|replace:"px":""}" name="topchance" class="topchance span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.chance.top|default:"190"|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="chance" data-default="{$frount_default.chance.visibility}" data-saved="{$cfg.frontcfg.front_cfg.chance.visibility|default:"visible"}" name="fbchance" class="forb fbchance form " {if $cfg.frontcfg.front_cfg.chance.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img02.taobaocdn.com/imgextra/i2/27390555/TB23VrPbpXXXXXEXpXXXXXXXXXX-27390555.jpg' target='_blank'><img src='http://img02.taobaocdn.com/imgextra/i2/27390555/TB23VrPbpXXXXXEXpXXXXXXXXXX-27390555.jpg_760x760.jpg'/></a>">?</span>
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">抽奖按钮：</label>
												<div class="controls control-row-auto ">
													<div class="control-row2">左边距<input data-default="{$frount_default.action.left|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.action.left|replace:"px":""}" name="leftaction" class="leftaction span2 span-width control-text form action-left" value="{$cfg.frontcfg.front_cfg.action.left|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.action.top|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.action.top|replace:"px":""}" name="topaction" class="topaction span2 span-width control-text form action-top" value="{$cfg.frontcfg.front_cfg.action.top|replace:"px":""}" type="text">像素(px)
													宽度<input data-default="{$frount_default.action.width|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.action.width|replace:"px":""}" name="widthaction" class="widthaction span2 span-width control-text form action-width" value="{$cfg.frontcfg.front_cfg.action.width|replace:"px":""}" type="text">像素(px)
													高度<input data-default="{$frount_default.action.height|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.action.height|replace:"px":""}" name="heightaction" class="heightaction span2 span-width control-text form action-height" value="{$cfg.frontcfg.front_cfg.action.height|replace:"px":""}" type="text">像素(px)
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img02.taobaocdn.com/imgextra/i2/27390555/TB2g.jTbpXXXXbOXXXXXXXXXXXX-27390555.jpg' target='_blank'><img src='http://img02.taobaocdn.com/imgextra/i2/27390555/TB2g.jTbpXXXXbOXXXXXXXXXXXX-27390555.jpg_760x760.jpg'/></a>">?</span>
													</div>
													{if $cfg.frontcfg.curtool=="wheels"}
														大转盘外观暂不支持变更指针外观。
													{/if}
														<div class="control-row1 {if $cfg.frontcfg.curtool=="wheels"}hide{/if}">图片<input data-default="{$frount_default.action.background}" data-saved="{$cfg.frontcfg.front_cfg.action.background}" class="span8 imgurl1 span-width control-text form action-pic" name="action-pic" value="{$cfg.frontcfg.front_cfg.action.background|replace:"url(":""|replace:") no-repeat":""}" type="text"><button type="button" class="button button-mini button-danger js-imgup" data-imgkey="1">上传</button>
														</div>
													<!-- 
													<span class="upImage1">
													<img class="js-imgup" src="http://img02.taobaocdn.com/imgextra/i2/27390555/TB2WhpOaXXXXXcTXXXXXXXXXXXX-27390555.png">
													</span> -->
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">购物车按钮：</label>
												<div class="controls control-row-auto">
													<div class="control-row2">左边距<input data-default="{$frount_default.cart.left|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.cart.left|replace:"px":""}" name="leftcart" class="leftcart span2 span-width control-text form cart-left" value="{$cfg.frontcfg.front_cfg.cart.left|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.cart.top|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.cart.top|replace:"px":""}" name="topcart" class="topcart span2 span-width control-text form cart-top" value="{$cfg.frontcfg.front_cfg.cart.top|replace:"px":""}" type="text">像素(px)
													宽度<input data-default="{$frount_default.cart.width|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.cart.width|replace:"px":""}" name="widthcart" class="widthcart span2 span-width control-text form cart-width" value="{$cfg.frontcfg.front_cfg.cart.width|replace:"px":""}" type="text">像素(px)
													高度<input data-default="{$frount_default.cart.height|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.cart.height|replace:"px":""}" name="heightcart" class="heightcart span2 span-width control-text form cart-height" value="{$cfg.frontcfg.front_cfg.cart.height|replace:"px":""}" type="text">像素(px)
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif' target='_blank'><img src='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif_760x760.jpg'/></a>">?</span>
													</div>
													<div class="control-row1">图片<input class="span8 imgurl3 span-width control-text form cart-pic" name="cart-pic" value="{$cfg.frontcfg.front_cfg.cart.background|default:""|replace:"url(":""|replace:") no-repeat":""}" data-saved="{$cfg.frontcfg.front_cfg.cart.background|replace:"url(":""|replace:") no-repeat":""}" data-default="{$frount_default.cart.background|replace:"url(":""|replace:") no-repeat":""}" type="text"><button type="button" class="button button-mini button-danger js-imgup" data-imgkey="3">上传</button>
													
													隐藏<input data-id="cart" data-default="{$frount_default.cart.visibility}" data-saved="{$cfg.frontcfg.front_cfg.cart.visibility|default:"visible"}" name="fbcart" class="forb fbcart form cart-hide" {if $cfg.frontcfg.front_cfg.cart.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													</div>
													<!-- <span class="upImage3">
													<img class="js-imgup" src="http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png">
													</span> -->
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">锦囊按钮：</label>
												<div class="controls control-row-auto">
													<div class="control-row2">左边距<input data-default="{$frount_default.jinnang.left|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jinnang.left|default:""|replace:"px":""}" name="leftjinnang" class="leftjinnang span2 span-width control-text form jinnang-left" value="{$cfg.frontcfg.front_cfg.jinnang.left|default:""|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.jinnang.top|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jinnang.top|default:""|replace:"px":""}" name="topjinnang" class="topjinnang span2 span-width control-text form jinnang-top" value="{$cfg.frontcfg.front_cfg.jinnang.top|default:""|replace:"px":""}" type="text">像素(px)
													宽度<input data-default="{$frount_default.jinnang.width|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jinnang.width|default:""|replace:"px":""}" name="widthjinnang" class="widthjinnang span2 span-width control-text form jinnang-width" value="{$cfg.frontcfg.front_cfg.jinnang.width|default:""|replace:"px":""}" type="text">像素(px)
													高度<input data-default="{$frount_default.jinnang.height|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jinnang.height|default:""|replace:"px":""}" name="heightjinnang" class="heightjinnang span2 span-width control-text form jinnang-height" value="{$cfg.frontcfg.front_cfg.jinnang.height|default:""|replace:"px":""}" type="text">像素(px)
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif' target='_blank'><img src='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif_760x760.jpg'/></a>">?</span>
													</div>
													<div class="control-row1">图片<input class="span8 imgurl5 span-width control-text form jinnang-pic" name="jinnang-pic" value="{$cfg.frontcfg.front_cfg.jinnang.pic|default:""|replace:"url(":""|replace:") no-repeat":""}" data-saved="{$cfg.frontcfg.front_cfg.jinnang.pic|default:""|replace:"url(":""|replace:") no-repeat":""}" data-default="{$frount_default.jinnang.pic|default:""|replace:"url(":""|replace:") no-repeat":""}" type="text"><button type="button" class="button button-mini button-danger js-imgup" data-imgkey="5">上传</button>
													隐藏<input data-id="jinnang" data-default="{$frount_default.jinnang.visibility}" data-saved="{$cfg.frontcfg.front_cfg.jinnang.visibility|default:"visible"}" name="fbjinnang" class="forb fbjinnang form jinnang-hide" {if $cfg.frontcfg.front_cfg.jinnang.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													</div>
													<!-- <span class="upImage3">
													<img class="js-imgup" src="http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png">
													</span> -->
												</div>
										</div>
										<div class="control-group control-row3 hide">
												<label class="control-label">代码：</label>
												<div class="controls">
													<textarea name="code" id="" class="input-large js-code"></textarea>
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="最终保存的外观配置代码。支持通用的css规则，参考这里生成的代码可以设置其他css属性。数据含义：contdown：倒计时；gift：奖品列表；mywin：我的奖品；gg：三个公告按钮（活动公告 抽奖规则 兑奖方式）；win：中奖名单；action：抽奖按钮；cart：购物车按钮">?</span>
												</div>
										</div>
										<div class="row control-row5 centered">
											<button type="button" class="button button-small js-readdefault">读取默认参数</button> 
											<button type="button" class="button button-small js-readloaded">读取上次保存的参数</button> 
										</div>
									</div>
							</div>
							</div>
						<div class="control-group span20 mytab js-bag_set hide">
						<label class="control-label">锦囊参数</label><br />
						<div class="well controls control-row-auto span23  span-width" >
										<div class="control-group">
												<label class="control-label">日历：</label>
												<div class="controls control-row-auto">
													<div class="control-row2">
														<input type="hidden" class="qdbtn_set" name="qdbtn_set" value="{$cfg.frontcfg.front_cfg.qdbtn.set|default:'btn'}" />
													左边距<input data-default="{$frount_default.sign_main.left|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.sign_main.left|default:""|replace:"px":""}" name="leftsign_main" class="leftsign_main span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.sign_main.left|default:""|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.sign_main.top|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.sign_main.top|default:""|replace:"px":""}" name="topsign_main" class="topsign_main span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.sign_main.top|default:""|replace:"px":""}" type="text">像素(px)
													宽<input data-default="{$frount_default.sign_main.width|default:""|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.sign_main.width|default:""|default:""|replace:"px":""}" name="widthsign_main" class="widthsign_main span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.sign_main.width|default:""|default:""|replace:"px":""}" type="text">像素(px)
													高<input data-default="{$frount_default.sign_main.height|default:""|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.sign_main.height|default:""|default:""|replace:"px":""}" name="heightsign_main" class="heightsign_main span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.sign_main.height|default:""|default:""|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="sign_main" data-default="{$frount_default.sign_main.visibility}" data-saved="{$cfg.frontcfg.front_cfg.sign_main.visibility|default:"visible"}" name="fbsign_main" class="forb fbsign_main form sign_main-hide" {if $cfg.frontcfg.front_cfg.sign_main.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif' target='_blank'><img src='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif_760x760.jpg'/></a>">?</span>
													</div>
													<div class="control-row1">
														<div class="control-row1 ">
														日历图片<input name="sign_main-pic" class="span8 imgurlsign_main span-width control-text form sign_main-pic" value="{$cfg.frontcfg.front_cfg.sign_main.picurl|default:"//img.alicdn.com/imgextra/i1/27390555/TB2LmNEtFXXXXblXXXXXXXXXXXX-27390555.png"|replace:"url(":""|replace:") no-repeat":""}" data-saved="{$cfg.frontcfg.front_cfg.sign_main.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" data-default="{$cfg.frontcfg.front_cfg.sign_main.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" type="text">
														<button type="button" class="button button-mini button-danger js-imgup" data-imgkey="sign_main">上传</button>
														</div>
													</div>
														
													<!-- <span class="upImage3">
													<img class="js-imgup" src="http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png">
													</span> -->
													
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">订单兑换机会：</label>
												<div class="controls control-row-auto">
													<div class="control-row2">
														<input type="hidden" class="qdbtn_set" name="qdbtn_set" value="{$cfg.frontcfg.front_cfg.qdbtn.set|default:'btn'}" />
													<div class="button-group span4">
														<button type="button" class="button button-mini js-btn_tp" data-id="qd" data-tp="btn">默认按钮</button>
														<!-- <button type="button" class="button button-mini js-btn_tp" data-id="qd" data-tp="pic">图片按钮</button> -->
													</div>
													左边距<input data-default="{$frount_default.qdbtn.left|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.qdbtn.left|default:""|replace:"px":""}" name="leftqdbtn" class="leftqdbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.qdbtn.left|default:""|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.qdbtn.top|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.qdbtn.top|default:""|replace:"px":""}" name="topqdbtn" class="topqdbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.qdbtn.top|default:""|replace:"px":""}" type="text">像素(px)
													宽<input data-default="{$frount_default.qdbtn.width|default:""|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.qdbtn.width|default:""|default:""|replace:"px":""}" name="widthqdbtn" class="widthqdbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.qdbtn.width|default:""|default:""|replace:"px":""}" type="text">像素(px)
													高<input data-default="{$frount_default.qdbtn.height|default:""|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.qdbtn.height|default:""|default:""|replace:"px":""}" name="heightqdbtn" class="heightqdbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.qdbtn.height|default:""|default:""|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="qdbtn" data-default="{$frount_default.qdbtn.visibility}" data-saved="{$cfg.frontcfg.front_cfg.qdbtn.visibility|default:"visible"}" name="fbqdbtn" class="forb fbqdbtn form qdbtn-hide" {if $cfg.frontcfg.front_cfg.qdbtn.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif' target='_blank'><img src='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif_760x760.jpg'/></a>">?</span>
													</div>
													<div class="control-row1 qd qdbtn_div {if $cfg.frontcfg.front_cfg.qdbtn.set=='pic'}hide{/if} ">
														<div class="control-row1 offset1">
														<input type="hidden" class="qdbtn_size" name="qdbtn_size" value="{$cfg.frontcfg.front_cfg.qdbtn.size|default:'btn-mini'}" />
														<!-- 大小：<div class="button-group">
															<button type="button" class="button button-mini js-btn_siz"  data-id="qd" data-tp="large">大</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="qd" data-tp="">中</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="qd" data-tp="small">小</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="qd" data-tp="mini">极小</button>
														</div> -->
														<input type="hidden" class="qdbtn_style" name="qdbtn_style" value="{$cfg.frontcfg.front_cfg.qdbtn.style|default:'btn-warning'}" />
														颜色：<div class="button-group">
															<button type="button" class="button button-mini js-btn_style"  data-id="qd" data-tp="">白</button>
															<button type="button" class="button button-mini btn-primary js-btn_style"  data-id="qd" data-tp="primary">蓝</button>
															<button type="button" class="button button-mini btn-warning js-btn_style"  data-id="qd" data-tp="warning">黄</button>
															<button type="button" class="button button-mini btn-danger js-btn_style"  data-id="qd" data-tp="danger">红</button>
															<button type="button" class="button button-mini btn-success js-btn_style"  data-id="qd" data-tp="success">绿</button>
															<button type="button" class="button button-mini btn-info js-btn_style"  data-id="qd" data-tp="info">湖蓝</button>
															<button type="button" class="button button-mini btn-inverse js-btn_style"  data-id="qd" data-tp="inverse">黑</button>
														</div>
														<!-- 预览：<input class="qdbtn btn {$cfg.frontcfg.front_cfg.qdbtn.size|default:'btn-mini'} {$cfg.frontcfg.front_cfg.qdbtn.style|default:'btn-warning'}  " type="button" value="签到"> -->
														</div>
													</div>
													<div class="control-row1 qd qdpic_div {if $cfg.frontcfg.front_cfg.qdbtn.set=='btn'}hide{/if}">
														<div class="control-row1 offset1">
														图片<input name="qdbtn_picurl" class="span8 imgurlqd span-width control-text form qdbtn-pic" value="{$cfg.frontcfg.front_cfg.qdbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" data-saved="{$cfg.frontcfg.front_cfg.qdbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" data-default="{$cfg.frontcfg.front_cfg.qdbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" type="text">
														<button type="button" class="button button-mini button-danger js-imgup" data-imgkey="qd">上传</button>
														</div>
													</div>
														
													<!-- <span class="upImage3">
													<img class="js-imgup" src="http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png">
													</span> -->
													
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">积分兑换按钮：</label>
												<div class="controls control-row-auto">
													<div class="control-row2">
														<input type="hidden" class="jfdhbtn_set" name="jfdhbtn_set" value="{$cfg.frontcfg.front_cfg.jfdhbtn.set|default:'btn'}" />
													<div class="button-group span4">
														<button type="button" class="button button-mini js-btn_tp" data-id="jfdh" data-tp="btn">默认按钮</button>
														<!-- <button type="button" class="button button-mini js-btn_tp" data-id="jfdh" data-tp="pic">图片按钮</button> -->
													</div>
													左边距<input data-default="{$frount_default.jfdhbtn.left|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jfdhbtn.left|default:""|replace:"px":""}" name="leftjfdhbtn" class="leftjfdhbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.jfdhbtn.left|default:""|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.jfdhbtn.top|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jfdhbtn.top|default:""|replace:"px":""}" name="topjfdhbtn" class="topjfdhbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.jfdhbtn.top|default:""|replace:"px":""}" type="text">像素(px)
													宽<input data-default="{$frount_default.jfdhbtn.width|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jfdhbtn.width|default:""|replace:"px":""}" name="widthjfdhbtn" class="widthjfdhbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.jfdhbtn.width|default:""|replace:"px":""}" type="text">像素(px)
													高<input data-default="{$frount_default.jfdhbtn.height|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jfdhbtn.height|default:""|replace:"px":""}" name="heightjfdhbtn" class="heightjfdhbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.jfdhbtn.height|default:""|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="jfdhbtn" data-default="{$frount_default.jfdhbtn.visibility|default:"0"}" data-saved="{$cfg.frontcfg.front_cfg.jfdhbtn.visibility|default:"visible"}" name="fbjfdhbtn" class="forb fbjfdhbtn form jfdh-hide" {if $cfg.frontcfg.front_cfg.jfdhbtn.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif' target='_blank'><img src='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif_760x760.jpg'/></a>">?</span>
													</div>
													<div class="control-row1 jfdh jfdhbtn_div {if $cfg.frontcfg.front_cfg.jfdhbtn.set=='pic'}hide{/if} ">
														<div class="control-row1 offset1">
														<input type="hidden" class="jfdhbtn_size" name="jfdhbtn_size" value="{$cfg.frontcfg.front_cfg.jfdhbtn.size|default:'btn-mini'}" />
														<!-- 大小：<div class="button-group">
															<button type="button" class="button button-mini js-btn_siz"  data-id="jfdh" data-tp="large">大</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="jfdh" data-tp="">中</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="jfdh" data-tp="small">小</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="jfdh" data-tp="mini">极小</button>
														</div> -->
														<input type="hidden" class="jfdhbtn_style" name="jfdhbtn_style" value="{$cfg.frontcfg.front_cfg.jfdhbtn.style|default:'btn-warning'}" />
														颜色：<div class="button-group">
															<button type="button" class="button button-mini js-btn_style"  data-id="jfdh" data-tp="">白</button>
															<button type="button" class="button button-mini btn-primary js-btn_style"  data-id="jfdh" data-tp="primary">蓝</button>
															<button type="button" class="button button-mini btn-warning js-btn_style"  data-id="jfdh" data-tp="warning">黄</button>
															<button type="button" class="button button-mini btn-danger js-btn_style"  data-id="jfdh" data-tp="danger">红</button>
															<button type="button" class="button button-mini btn-success js-btn_style"  data-id="jfdh" data-tp="success">绿</button>
															<button type="button" class="button button-mini btn-info js-btn_style"  data-id="jfdh" data-tp="info">湖蓝</button>
															<button type="button" class="button button-mini btn-inverse js-btn_style"  data-id="jfdh" data-tp="inverse">黑</button>
														</div>
														<!-- 预览：<input class="jfdhbtn btn {$cfg.frontcfg.front_cfg.jfdhbtn.size|default:'btn-mini'} {$cfg.frontcfg.front_cfg.jfdhbtn.style|default:'btn-warning'}  " type="button" value="积分兑换"> -->
														</div>
													</div>
													<div class="control-row1 jfdh jfdhpic_div {if $cfg.frontcfg.front_cfg.jfdhbtn.set=='btn'}hide{/if}">
														<div class="control-row1 offset1">
														图片<input name="jfdhbtn_picurl" class="span8 imgurljfdh span-width control-text form jfdhbtn-pic" value="{$cfg.frontcfg.front_cfg.jfdhbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" data-saved="{$cfg.frontcfg.front_cfg.jfdhbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" data-default="{$cfg.frontcfg.front_cfg.jfdhbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" type="text">
														<button type="button" class="button button-mini button-danger js-imgup" data-imgkey="jfdh">上传</button>
														</div>
													</div>
														
													<!-- <span class="upImage3">
													<img class="js-imgup" src="http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png">
													</span> -->
													
												</div>
										</div>
										<!--div class="control-group">
												<label class="control-label">签到兑换按钮：</label>
												<div class="controls control-row-auto">
													<div class="control-row2">
														<input type="hidden" class="qddhbtn_set" name="qddhbtn_set" value="{$cfg.frontcfg.front_cfg.qddhbtn.set|default:'btn'}" />
													<div class="button-group span4">
														<button type="button" class="button button-mini js-btn_tp" data-id="qddh" data-tp="btn">默认按钮</button>
														<button type="button" class="button button-mini js-btn_tp" data-id="qddh" data-tp="pic">图片按钮</button>
													</div>
													左边距<input data-default="{$frount_default.qddhbtn.left|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.qddhbtn.left|default:""|replace:"px":""}" name="leftqddhbtn" class="leftqddhbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.qddhbtn.left|default:""|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.qddhbtn.top|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.qddhbtn.top|default:""|replace:"px":""}" name="topqddhbtn" class="topqddhbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.qddhbtn.top|default:""|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="qddhbtn" data-default="{$frount_default.qddhbtn.visibility|default:"0"}" data-saved="{$cfg.frontcfg.front_cfg.qddhbtn.visibility|default:"visible"}" name="fbqddhbtn" class="forb fbqddhbtn form qddh-hide" {if $cfg.frontcfg.front_cfg.qddhbtn.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif' target='_blank'><img src='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif_760x760.jpg'/></a>">?</span>
													</div>
													<div class="control-row1 qddh qddhbtn_div {if $cfg.frontcfg.front_cfg.qddhbtn.set=='pic'}hide{/if} ">
														<div class="control-row1 offset1">
														<input type="hidden" class="qddhbtn_size" name="qddhbtn_size" value="{$cfg.frontcfg.front_cfg.qddhbtn.size|default:'btn-mini'}" />
														大小：<div class="button-group">
															<button type="button" class="button button-mini js-btn_siz"  data-id="qddh" data-tp="large">大</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="qddh" data-tp="">中</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="qddh" data-tp="small">小</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="qddh" data-tp="mini">极小</button>
														</div>
														<input type="hidden" class="qddhbtn_style" name="qddhbtn_style" value="{$cfg.frontcfg.front_cfg.qddhbtn.style|default:'btn-warning'}" />
														颜色：<div class="button-group">
															<button type="button" class="button button-mini js-btn_style"  data-id="qddh" data-tp="">白</button>
															<button type="button" class="button button-mini btn-primary js-btn_style"  data-id="qddh" data-tp="primary">蓝</button>
															<button type="button" class="button button-mini btn-warning js-btn_style"  data-id="qddh" data-tp="warning">黄</button>
															<button type="button" class="button button-mini btn-danger js-btn_style"  data-id="qddh" data-tp="danger">红</button>
															<button type="button" class="button button-mini btn-success js-btn_style"  data-id="qddh" data-tp="success">绿</button>
															<button type="button" class="button button-mini btn-info js-btn_style"  data-id="qddh" data-tp="info">湖蓝</button>
															<button type="button" class="button button-mini btn-inverse js-btn_style"  data-id="qddh" data-tp="inverse">黑</button>
														</div>
														预览：<input class="qddhbtn btn {$cfg.frontcfg.front_cfg.qddhbtn.size|default:'btn-mini'} {$cfg.frontcfg.front_cfg.qddhbtn.style|default:'btn-warning'}  " type="button" value="签到兑换">
														</div>
													</div>
													<div class="control-row1 qddh qddhpic_div {if $cfg.frontcfg.front_cfg.qddhbtn.set=='btn'}hide{/if}">
														<div class="control-row1 offset1">
														图片<input name="qddhbtn_picurl" class="span8 imgurlqddh span-width control-text form cart-pic" value="{$cfg.frontcfg.front_cfg.qddhbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" data-saved="{$cfg.frontcfg.front_cfg.qddhbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" data-default="{$cfg.frontcfg.front_cfg.qddhbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" type="text"><button type="button" class="button button-mini button-danger js-imgup" data-imgkey="qddh">上传</button>
														</div>
													</div>
														
													<span class="upImage3">
													<img class="js-imgup" src="http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png">
													</span>
													
												</div>
										</div-->
										<div class="control-group">
												<label class="control-label">加购物车按钮：</label>
												<div class="controls control-row-auto">
													<div class="control-row2">
														<input type="hidden" class="qdjcbtn_set" name="qdjcbtn_set" value="{$cfg.frontcfg.front_cfg.qdjcbtn.set|default:'btn'}" />
													<div class="button-group span4">
														<button type="button" class="button button-mini js-btn_tp" data-id="qdjc" data-tp="btn">默认按钮</button>
														<!-- <button type="button" class="button button-mini js-btn_tp" data-id="qdjc" data-tp="pic">图片按钮</button> -->
													</div>
													左边距<input data-default="{$frount_default.qdjcbtn.left|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.qdjcbtn.left|default:""|replace:"px":""}" name="leftqdjcbtn" class="leftqdjcbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.qdjcbtn.left|default:""|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.qdjcbtn.top|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.qdjcbtn.top|default:""|replace:"px":""}" name="topqdjcbtn" class="topqdjcbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.qdjcbtn.top|default:""|replace:"px":""}" type="text">像素(px)
													宽<input data-default="{$frount_default.qdjcbtn.width|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.qdjcbtn.width|default:""|replace:"px":""}" name="widthqdjcbtn" class="widthqdjcbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.qdjcbtn.width|default:""|replace:"px":""}" type="text">像素(px)
													高<input data-default="{$frount_default.qdjcbtn.height|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.qdjcbtn.height|default:""|replace:"px":""}" name="heightqdjcbtn" class="heightqdjcbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.qdjcbtn.height|default:""|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="qdjcbtn" data-default="{$frount_default.qdjcbtn.visibility|default:"0"}" data-saved="{$cfg.frontcfg.front_cfg.qdjcbtn.visibility|default:"visible"}" name="fbqdjcbtn" class="forb fbqdjcbtn form qdjc-hide" {if $cfg.frontcfg.front_cfg.qdjcbtn.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif' target='_blank'><img src='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif_760x760.jpg'/></a>">?</span>
													</div>
													<div class="control-row1 qdjc qdjcbtn_div {if $cfg.frontcfg.front_cfg.qdjcbtn.set=='pic'}hide{/if} ">
														<div class="control-row1 offset1">
														<input type="hidden" class="qdjcbtn_size" name="qdjcbtn_size" value="{$cfg.frontcfg.front_cfg.qdjcbtn.size|default:'btn-mini'}" />
														<!-- 大小：<div class="button-group">
															<button type="button" class="button button-mini js-btn_siz"  data-id="qdjc" data-tp="large">大</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="qdjc" data-tp="">中</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="qdjc" data-tp="small">小</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="qdjc" data-tp="mini">极小</button>
														</div> -->
														<input type="hidden" class="qdjcbtn_style" name="qdjcbtn_style" value="{$cfg.frontcfg.front_cfg.qdjcbtn.style|default:'btn-warning'}" />
														颜色：<div class="button-group">
															<button type="button" class="button button-mini js-btn_style"  data-id="qdjc" data-tp="">白</button>
															<button type="button" class="button button-mini btn-primary js-btn_style"  data-id="qdjc" data-tp="primary">蓝</button>
															<button type="button" class="button button-mini btn-warning js-btn_style"  data-id="qdjc" data-tp="warning">黄</button>
															<button type="button" class="button button-mini btn-danger js-btn_style"  data-id="qdjc" data-tp="danger">红</button>
															<button type="button" class="button button-mini btn-success js-btn_style"  data-id="qdjc" data-tp="success">绿</button>
															<button type="button" class="button button-mini btn-info js-btn_style"  data-id="qdjc" data-tp="info">湖蓝</button>
															<button type="button" class="button button-mini btn-inverse js-btn_style"  data-id="qdjc" data-tp="inverse">黑</button>
														</div>
														<!-- 预览：<input class="qdjcbtn btn {$cfg.frontcfg.front_cfg.qdjcbtn.size|default:'btn-mini'} {$cfg.frontcfg.front_cfg.qdjcbtn.style|default:'btn-warning'}  " type="button" value="签到加成"> -->
														</div>
													</div>
													<div class="control-row1 qdjc qdjcpic_div {if $cfg.frontcfg.front_cfg.qdjcbtn.set=='btn'}hide{/if}">
														<div class="control-row1 offset1">
														图片<input name="qdjcbtn_picurl" class="span8 imgurlqdjc span-width control-text form cart-pic" value="{$cfg.frontcfg.front_cfg.qdjcbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" data-saved="{$cfg.frontcfg.front_cfg.qdjcbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" data-default="{$cfg.frontcfg.front_cfg.qdjcbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" type="text">
														<button type="button" class="button button-mini button-danger js-imgup" data-imgkey="qdjc">上传</button>
														</div>
													</div>
														
													<!-- <span class="upImage3">
													<img class="js-imgup" src="http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png">
													</span> -->
													
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">每天领取机会按钮：</label>
												<div class="controls control-row-auto">
													<div class="control-row2">
														<input type="hidden" class="ddhjfbtn_set" name="ddhjfbtn_set" value="{$cfg.frontcfg.front_cfg.ddhjfbtn.set|default:'btn'}" />
													<div class="button-group span4">
														<button type="button" class="button button-mini js-btn_tp" data-id="ddhjf" data-tp="btn">默认按钮</button>
														<!-- <button type="button" class="button button-mini js-btn_tp" data-id="ddhjf" data-tp="pic">图片按钮</button> -->
													</div>
													左边距<input data-default="{$frount_default.ddhjfbtn.left|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.ddhjfbtn.left|default:""|replace:"px":""}" name="leftddhjfbtn" class="leftddhjfbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.ddhjfbtn.left|default:""|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.ddhjfbtn.top|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.ddhjfbtn.top|default:""|replace:"px":""}" name="topddhjfbtn" class="topddhjfbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.ddhjfbtn.top|default:""|replace:"px":""}" type="text">像素(px)
													宽<input data-default="{$frount_default.ddhjfbtn.width|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.ddhjfbtn.width|default:""|replace:"px":""}" name="widthddhjfbtn" class="widthddhjfbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.ddhjfbtn.width|default:""|replace:"px":""}" type="text">像素(px)
													高<input data-default="{$frount_default.ddhjfbtn.height|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.ddhjfbtn.height|default:""|replace:"px":""}" name="heightddhjfbtn" class="heightddhjfbtn span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.ddhjfbtn.height|default:""|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="ddhjfbtn" data-default="{$frount_default.ddhjfbtn.visibility|default:"0"}" data-saved="{$cfg.frontcfg.front_cfg.ddhjfbtn.visibility|default:"visible"}" name="fbddhjfbtn" class="forb fbddhjfbtn form ddhjf-hide" {if $cfg.frontcfg.front_cfg.ddhjfbtn.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif' target='_blank'><img src='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif_760x760.jpg'/></a>">?</span>
													</div>
													<div class="control-row1 ddhjf ddhjfbtn_div {if $cfg.frontcfg.front_cfg.ddhjfbtn.set=='pic'}hide{/if} ">
														<div class="control-row1 offset1">
														<input type="hidden" class="ddhjfbtn_size" name="ddhjfbtn_size" value="{$cfg.frontcfg.front_cfg.ddhjfbtn.size|default:'btn-mini'}" />
														<!-- 大小：<div class="button-group">
															<button type="button" class="button button-mini js-btn_siz"  data-id="ddhjf" data-tp="large">大</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="ddhjf" data-tp="">中</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="ddhjf" data-tp="small">小</button>
															<button type="button" class="button button-mini js-btn_siz"  data-id="ddhjf" data-tp="mini">极小</button>
														</div> -->
														<input type="hidden" class="ddhjfbtn_style" name="ddhjfbtn_style" value="{$cfg.frontcfg.front_cfg.ddhjfbtn.style|default:'btn-warning'}" />
														颜色：<div class="button-group">
															<button type="button" class="button button-mini js-btn_style"  data-id="ddhjf" data-tp="">白</button>
															<button type="button" class="button button-mini btn-primary js-btn_style"  data-id="ddhjf" data-tp="primary">蓝</button>
															<button type="button" class="button button-mini btn-warning js-btn_style"  data-id="ddhjf" data-tp="warning">黄</button>
															<button type="button" class="button button-mini btn-danger js-btn_style"  data-id="ddhjf" data-tp="danger">红</button>
															<button type="button" class="button button-mini btn-success js-btn_style"  data-id="ddhjf" data-tp="success">绿</button>
															<button type="button" class="button button-mini btn-info js-btn_style"  data-id="ddhjf" data-tp="info">湖蓝</button>
															<button type="button" class="button button-mini btn-inverse js-btn_style"  data-id="ddhjf" data-tp="inverse">黑</button>
														</div>
														<!-- 预览：<input class="ddhjfbtn btn {$cfg.frontcfg.front_cfg.ddhjfbtn.size|default:'btn-mini'} {$cfg.frontcfg.front_cfg.ddhjfbtn.style|default:'btn-warning'}  " type="button" value="订单兑换积分"> -->
														</div>
													</div>
													<div class="control-row1 ddhjf ddhjfpic_div {if $cfg.frontcfg.front_cfg.ddhjfbtn.set=='btn'}hide{/if}">
														<div class="control-row1 offset1">
														图片<input name="ddhjfbtn_picurl" class="span8 imgurlddhjf span-width control-text form cart-pic" value="{$cfg.frontcfg.front_cfg.ddhjfbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" data-saved="{$cfg.frontcfg.front_cfg.ddhjfbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" data-default="{$cfg.frontcfg.front_cfg.ddhjfbtn.picurl|default:""|replace:"url(":""|replace:") no-repeat":""}" type="text">
														<button type="button" class="button button-mini button-danger js-imgup" data-imgkey="ddhjf">上传</button>
														</div>
													</div>
														
													<!-- <span class="upImage3">
													<img class="js-imgup" src="http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png">
													</span> -->
													
												</div>
										</div>
										<div class="control-group">
												<label class="control-label">兑换规则：</label>
												<div class="controls control-row-auto">
													<div class="control-row2">
													左边距<input data-default="{$frount_default.jifen_rule.left|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jifen_rule.left|default:""|replace:"px":""}" name="leftjifen_rule" class="leftjifen_rule span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.jifen_rule.left|default:""|replace:"px":""}" type="text">像素(px)
													上边距<input data-default="{$frount_default.jifen_rule.top|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jifen_rule.top|default:""|replace:"px":""}" name="topjifen_rule" class="topjifen_rule span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.jifen_rule.top|default:""|replace:"px":""}" type="text">像素(px)
													宽<input data-default="{$frount_default.jifen_rule.left|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jifen_rule.left|default:""|replace:"px":""}" name="widthjifen_rule" class="widthjifen_rule span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.jifen_rule.width|default:""|replace:"px":""}" type="text">像素(px)
													高<input data-default="{$frount_default.jifen_rule.top|default:""|replace:"px":""}" data-saved="{$cfg.frontcfg.front_cfg.jifen_rule.top|default:""|replace:"px":""}" name="heightjifen_rule" class="heightjifen_rule span2 span-width control-text form " value="{$cfg.frontcfg.front_cfg.jifen_rule.height|default:""|replace:"px":""}" type="text">像素(px)
													隐藏<input data-id="jifen_rule" data-default="{$frount_default.jifen_rule.visibility|default:"0"}" data-saved="{$cfg.frontcfg.front_cfg.jifen_rule.visibility|default:"visible"}" name="fbjifen_rule" class="forb fbjifen_rule form jifen_rule-hide" {if $cfg.frontcfg.front_cfg.jifen_rule.visibility=="hidden"}checked="checked"{/if} type="checkbox">
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="<a href='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif' target='_blank'><img src='http://img01.taobaocdn.com/imgextra/i1/27390555/TB25s_ObpXXXXX8XpXXXXXXXXXX-27390555.gif_760x760.jpg'/></a>">?</span>
													</div>
												</div>
										</div>
								</div>
						</div>
						{if $cfg.frontcfg.curtool=="dices" || $cfg.frontcfg.curtool=="wheels"}
						<div class="control-group span20 mytab js-gift_set hide">
							<label class="control-label">总开关：</label>
							<div class="controls control-row-auto span23  span-width">
									<div class="well">
										<div class="row control-row5 centered">
											<label class="checkbox"><input type="radio" class="kaiguan kgopen" name="kaiguan" {if $cfg.onoff==1}checked{/if} value="1" />打开</label><label class="checkbox"><input type="radio" name="kaiguan" {if $cfg.onoff==0}checked{/if} value="0" />关闭</label>
											<span class="x-icon x-icon-mini x-icon-info helper" data-tip="绑定奖品的总开关。关闭以后绑定设置不生效。">?</span>
										</div>
									</div>
							</div>
						</div>
						<div class="control-group span20 mytab js-gift_set hide">
						<label class="control-label">绑定设置<br /><span class="js-sys {if $bg_open == 0 }hide{/if}">（不生效）</span></label>
							<div class="controls control-row-auto span23  span-width">
											<table cellspacing="0" class="table table-bordered">
												<tbody>
												{if $cfg.frontcfg.curtool=="dices"}
												{foreach from=$cfg.giftset key=plc item=set}
												  <tr class="add">
													<td>
													位置：[{$plc+1}号位置] 宽：<input type="text" data-id="{$plc}" data-ty="width" class="span1 span-width control-text width{$plc}" name="width[]" value="{$set.width}" data-default="{$set.width}" data-saved="{$gift_default.giftset[$plc].width}"> 高：<input data-id="{$plc}" data-ty="height" type="text" name="height[]" class="span1 span-width control-text height{$plc}" value="{$set.height}" data-default="{$set.height}" data-saved="{$gift_default.giftset[$plc].height}"> 左：<input data-id="{$plc}" data-ty="left" type="text" name="left[]" class="span1 span-width control-text left{$plc}" value="{$set.left}" data-default="{$set.left}" data-saved="{$gift_default.giftset[$plc].left}"> 上：<input data-id="{$plc}" data-ty="top" type="text" name="top[]" class="span1 span-width control-text top{$plc}" value="{$set.top}"  data-default="{$set.top}" data-saved="{$gift_default.giftset[$plc].top}">
													奖品：
													<select class="input-small" name="gift[]">
														{foreach from=$gifts key=key item=item}
														<option value="{$key}" {if $set.gift==$key}selected{/if} >{$item.name}{if $item.level}[{$item.level}]{/if}</option>
														{/foreach}
													</select>
													<label class="checkbox">
													<input class="forb fb{$plc}" type="checkbox" value="1" data-id="{$plc}" name="forbidden[]" {if $set.forbidden}checked{/if}  data-default="{$set.forbidden}" />禁用
													</label>
													<label class="checkbox">
													<input class="showpic" type="checkbox" value="1" name="showpic[]" {if $set.pic_url}checked{/if} />奖品主图当作缩略图
													</label>
													<span class="x-icon x-icon-mini x-icon-info helper" data-tip="选中此选项，则奖品主图被显示到前台，并且主图规格需要按照这里设置的大小上传。不选此选项，则使用背景上的图片。">?</span>
													</td>
												  </tr>
												  {/foreach}
												  {/if}
												{if $cfg.frontcfg.curtool=="wheels"}
												{foreach from=$cfg.giftset key=plc item=set}
												  <tr class="add">
													<td>
													角度：[{$plc+1}号角度] 开始角度：<input type="text" data-id="{$plc}" data-ty="width" class="span1 span-width control-text width{$plc}" name="width[]" value="{$set.width}" data-default="{$set.width}" data-saved="{$gift_default.giftset[$plc].width}"> 
													结束角度：<input data-id="{$plc}" data-ty="height" type="text" name="height[]" class="span1 span-width control-text height{$plc}" value="{$set.height}" data-default="{$set.height}" data-saved="{$gift_default.giftset[$plc].height}">
													奖品：
													<select class="input-small" name="gift[]">
														{foreach from=$gifts key=key item=item}
														<option value="{$key}" {if $set.gift==$key}selected{/if} >{$item.name}{if $item.level}[{$item.level}]{/if}</option>
														{/foreach}
													</select>
													<label class="checkbox">
													<input class="forb fb{$plc}" type="checkbox" value="1" data-id="{$plc}" name="forbidden[]" {if $set.forbidden}checked{/if}  data-default="{$set.forbidden}" />禁用
													</label>
													</td>
												  </tr>
												  {/foreach}
												  {/if}
												</tbody>
											</table> 
							</div>
							<div class="control-group span20 form-actions centered ">
								<button type="button" class="button button-small js-read" data-do="loaded">读取默认位置</button>
								<button type="button" class="button button-small js-read"  data-do="default">读取上次保存的位置</button>
							</div>
							</div>
						{/if}
							</div>
							</div>
						</div>
					</div>
				</form>
			  </div>
  <div class="hide">
	<input type="file" name="userfile" hidefocus="true" class="file-input hide">
	<input type="hidden" class="type" value="{$type|default:0}" />
  </div>
  <ul id="J_UploaderQueue" style="position: fixed;border: 1px #D8D8D8 solid;bottom: 0;right: 0;background: #F0F9FF;padding: 2px;" class="ks-uploader-queue defaultTheme-queue"></ul>		
  </div>
</body>
</html>